<template>
	<view class="flex a-s marv30">
		<u-image :src='content.avatar' width="250rpx" height="180rpx" border-radius="8rpx" />
		<view class="flex1 flex j-s flex-col padh20" style="height:180rpx">
			<view class="font30 marv10 u-line-2">{{content.title}}</view>
			<view class="flex a-c " style="overflow: hidden;height: 50rpx;">
				<sb-price-text :price='content.price' sub :old-price='content.originalPrice' />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "product-card",
		props: {
			content: {
				type: Object
			}
		},
	}
</script>
